@import "../variables";

.sku-info {

  .sku-detail {

    .sku-summary {
      line-height: 32px;

      .title {
        width: 50px;
      }

      .content {
        margin-left: 10px;
      }

      .choose-attrs {

        .choose-attr {
          line-height: 40px;
          margin-bottom: 3px;

          .at {
            width: 50px;
            font-family: simsun;
            color: #999;
          }

          .ac {
            margin-left: 10px;
          }

          .item {
            position: relative;
            background-color: #f7f7f7;
            color: #666;
            margin-right: 7px;
            margin-bottom: 4px;

            a {
              padding: 0;
              display: block;
              white-space: nowrap;
              cursor: pointer;
              border: 1px solid #ccc;

              .el-image {
                width: 40px;
                height: 40px;
              }

              i {
                margin: 0 8px;
              }
            }
          }

          .selector {

            a {
              border: 1px solid #e3393c;
              color: #666;
            }
          }

          .disabled {

            a {
              border: 1px dashed var(--el-border-color);
              color: #ccc;
            }
          }
        }
      }

      .el-input-number {
        width: 120px;
      }
    }

    .summary-price {
      background-color: #f3f3f3;
      padding: 5px 0 10px 5px;
      margin-top: 10px;
    }

    .sku-line {
      height: 1px;
      border-bottom: 1px dashed #eeeeee;
    }
  }
}

.detail {
  height: auto;
  padding: 6px;

  .detail-content {

    .parameter {
      padding: 0 40px;
      line-height: 32px;

      .item {
        margin: 5px 0;
      }
    }

    .content {

      p {
        text-align: center;

        .el-image {
          max-width: 100%;
        }
      }
    }

    .attr {
      padding: 40px 80px;
      font-size: 12px;

      .el-form-item {
        margin-bottom: 8px;

        .el-form-item__content {
          padding-left: 60px;
        }
      }
    }

    .protection {

      .header {
        padding: 10px;
        background-color: #f7f7f7;
        border: 1px solid #eee;
      }

      .content {
        padding: 10px;

        dt {
          display: block;
          height: 32px;
          line-height: 32px;
          font-size: 16px;
          color: #e4393c;
          font-family: 'microsoft yahei';

          .el-icon {
            top: 3px;
          }
        }

        dd {
          display: block;
          padding: 10px 0 30px;
          line-height: 18px;
        }
      }
    }

    .comment {

      .header {
        padding: 10px;
        background-color: #f7f7f7;
        border: 1px solid #eee;
      }

      .feedback {

        .f-content {
          width: 90px;
          padding: 15px 0 0 40px;

          .f-rate {
            line-height: 110%;
            font-size: 45px;
            color: #e4393c;
            font-family: arial;

            .f-percent {
              font-size: 23px;
            }
          }

          strong {
            font-size: 12px;
            color: #666;
            font-weight: 400;
          }
        }
      }

      .nav {
        background: #fafafa;
        color: #e4393c;
        border: 1px solid #eee;

        ul {
          padding: 0;
          margin: 0;

          li {
            display: inline-block;
            padding: 5px 10px;
            cursor: pointer;
          }
        }
      }

      .content {
        display: block;

        .comment-item {
          zoom: 1;
          padding: 15px;
          border-bottom: 1px solid #ddd;

          .user-column {
            width: 140px;

            .user-info {
              white-space: nowrap;
              text-overflow: ellipsis;
              overflow: hidden;
            }

            .user-level {

              a {
                display: inline-block;
                padding: 0 4px;
                font-size: 12px;
                line-height: 18px;
                background: #414141;
                color: #fff38f;
                border-radius: 1px;
                margin: 5px 5px 0 0;
                text-decoration: none;
              }
            }
          }

          .comment-column {
            margin-left: 150px;

            .comment-con {
              font-size: 14px;
              padding: 10px 0;
              line-height: 180%;
              color: #333;
              text-align: left;
            }

            .comment-message {

              .order-info {
                float: left;
                color: #999;

                span {
                  margin-right: 20px;
                }
              }

              .comment-op {

                .el-link {
                  display: inline-block;
                  margin-left: 25px;
                  color: #666;
                }
              }
            }
          }
        }
      }
    }
  }

  a {
    text-decoration: none;
  }
}